/* 学术风格的Markdown主题 */
.markdown-body.academic {
  font-family: 'Times New Roman', Times, serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: justify;
}

.markdown-body.academic h1,
.markdown-body.academic h2,
.markdown-body.academic h3,
.markdown-body.academic h4,
.markdown-body.academic h5,
.markdown-body.academic h6 {
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
  margin-top: 2em;
  margin-bottom: 1em;
  color: #222;
}

.markdown-body.academic h1 {
  font-size: 2em;
  line-height: 1.2;
  text-align: center;
  margin-top: 1em;
  margin-bottom: 1.5em;
}

.markdown-body.academic h2 {
  font-size: 1.5em;
  line-height: 1.3;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.3em;
}

.markdown-body.academic h3 {
  font-size: 1.3em;
}

.markdown-body.academic h4 {
  font-size: 1.1em;
  font-style: italic;
}

.markdown-body.academic p {
  margin-bottom: 1.5em;
  font-size: 1.05em;
  line-height: 1.6;
  text-indent: 2em;
}

.markdown-body.academic a {
  color: #0366d6;
  text-decoration: none;
}

.markdown-body.academic a:hover {
  text-decoration: underline;
}

.markdown-body.academic blockquote {
  margin: 1.5em 0;
  padding: 0 1.5em;
  border-left: 3px solid #ddd;
  font-style: italic;
  color: #555;
}

.markdown-body.academic code {
  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  background-color: #f8f8f8;
  padding: 2px 4px;
  border-radius: 3px;
  font-size: 0.9em;
}

.markdown-body.academic pre {
  background-color: #f8f8f8;
  padding: 16px;
  border-radius: 3px;
  overflow-x: auto;
  margin: 1.5em 0;
}

.markdown-body.academic pre code {
  background-color: transparent;
  padding: 0;
}

.markdown-body.academic img {
  max-width: 100%;
  margin: 1.5em auto;
  display: block;
}

.markdown-body.academic hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 2em 0;
}

.markdown-body.academic ul,
.markdown-body.academic ol {
  margin-bottom: 1.5em;
  padding-left: 2em;
}

.markdown-body.academic li {
  margin-bottom: 0.5em;
}

.markdown-body.academic table {
  border-collapse: collapse;
  width: 100%;
  margin: 1.5em 0;
  border: 1px solid #ddd;
}

.markdown-body.academic table th,
.markdown-body.academic table td {
  border: 1px solid #ddd;
  padding: 10px 15px;
  text-align: left;
}

.markdown-body.academic table th {
  background-color: #f8f8f8;
  font-weight: 600;
}

.markdown-body.academic table caption {
  margin-bottom: 0.5em;
  font-style: italic;
  text-align: center;
}

/* 学术主题特有的样式 */
.markdown-body.academic .footnote {
  font-size: 0.9em;
  color: #666;
  margin-top: 2em;
  border-top: 1px solid #eee;
  padding-top: 1em;
}

.markdown-body.academic .abstract {
  font-style: italic;
  margin: 2em 3em;
  line-height: 1.6;
}

.markdown-body.academic .keywords {
  font-weight: bold;
  margin-bottom: 2em;
}

.markdown-body.academic .citation {
  font-size: 0.9em;
  color: #666;
  margin-left: 2em;
  text-indent: -2em;
} 